/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.rate.event.entity;
import org.springblade.core.mp.base.BaseEntity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 事件表实体类
 *
 * @author Blade
 * @since 2021-09-20
 */
@Data
@TableName("rate_event")
@ApiModel(value = "Event对象", description = "事件表")
public class Event extends TenantEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
  private Long id;
    @ApiModelProperty(value = "组织CODE")
    private String tenantCode;
    @ApiModelProperty(value = "编码")
    private String code;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "媒体地址")
    private String mediaUrl;
    @ApiModelProperty(value = "媒体列表")
    private String medias;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "类型")
    private Integer type;
    @ApiModelProperty(value = "位置")
    private String position;
    @ApiModelProperty(value = "公司目标")
    private String companyTarget;
    @ApiModelProperty(value = "目标部门")
    private String deptId;
	@ApiModelProperty(value = "部门名称")
	private String deptName;
    @ApiModelProperty(value = "目标员工")
    private Long memberId;
	@ApiModelProperty(value = "员工名称")
	private String memberName;
	@ApiModelProperty(value = "同事赞赏分")
	private Integer mateLike;
	@ApiModelProperty(value = "领导表扬分")
	private Integer leaderLike;
    @ApiModelProperty(value = "分数")
    private Integer point;
	@ApiModelProperty(value = "封锁状态 0.不封锁 1.封锁")
	private Integer lockStatus;
    @ApiModelProperty(value = "审核状态")
    private Integer auditStatus;
    @ApiModelProperty(value = "状态")
    private Integer status;
	@ApiModelProperty(value = "是否加分")
	private Integer likeFlag;
    @ApiModelProperty(value = "版本")
    private Integer version;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "创建人")
    private Long createUser;
    @ApiModelProperty(value = "创建部门")
    private Long createDept;
    @ApiModelProperty(value = "修改人")
    private Long updateUser;
    @ApiModelProperty(value = "是否已删除")
    private Integer isDeleted;



}
